/*  zwt */
package cn.mandy.sysadmin.mapper;

import cn.mandy.sysadmin.model.MandyDepartment;
import cn.mandy.sysadmin.model.MandyDepartmentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MandyDepartmentMapper {
    long countByExample(MandyDepartmentExample example);

    int deleteByExample(MandyDepartmentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(MandyDepartment record);

    int insertSelective(MandyDepartment record);

    List<MandyDepartment> selectByExample(MandyDepartmentExample example);

    MandyDepartment selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") MandyDepartment record, @Param("example") MandyDepartmentExample example);

    int updateByExample(@Param("record") MandyDepartment record, @Param("example") MandyDepartmentExample example);

    int updateByPrimaryKeySelective(MandyDepartment record);

    int updateByPrimaryKey(MandyDepartment record);
}